package cn.edu.sgu.www.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
public class Role implements Serializable {
    private static final long serialVersionUID = 18L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(name = "角色ID")
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty(name = "角色名称")
    private String name;

    /**
     * 排序
     */
    @ApiModelProperty(name = "排序")
    private Integer sort;

    /**
     * 应用ID
     */
    @ApiModelProperty(value = "应用ID")
    private Integer serviceId;

    /**
     * 角色描述
     */
    @ApiModelProperty(name = "角色描述")
    private String description;
}